package com.spzx.product.service;

import com.spzx.model.entity.product.Category;

import java.util.List;

/**
 * Project: spzx-parent
 * Package: com.spzx.product.service
 * Version: 1.0
 * <p>
 * Created by  wangjiaxin  on 2024/3/12 23:02
 */
public interface CategoryService {
    // 获取所有一级分类
    List<Category> findOneCategory();

    //查询所有分类
    List<Category> findCategoryTree();
}
